www.gusucode.com > 茶都拼客网全功能版 8 > 茶都拼客网全功能版 8.8源码程序/teasdxmccom/茶都拼客网V8.8(全功能,无限制,完全开源)/Ku_type/Index_prolist.asp
<div align="center"> <table cellpadding="0" cellspacing="0" width="100"> <tr> <td height="5"></td> </tr> </table> </div> <div align="center"> <table border="0" width="99%" cellpadding="0" cellspacing="2"> <% set rsmm=server.CreateObject("adodb.recordset") sqlmm="select top 20 * from Gu_pro order by id desc" rsmm.open sqlmm,conn,1,1 if rsmm.eof then %> <tr style="border: 1px solid #D0D4D9"><td>暂无任何商家产品信息</td></tr> <% else k=1 %> <tr> <% do while not rsmm.eof%> <% proname=rsmm("name") %> <td width="50%" height="22"> <img border="0" src="pkxx-Img/buy01.gif" width="16" height="16"><a href="Gu_showpro.asp?guxing=<%=rsmm("id")%>" target=_blank title="标题:<%=proname%>
时间:<%=rsmm("addtime")%>"> <% if Getlen(proname)>32 then response.write LeftStr(proname,30) response.write "..." else response.write ""&proname&"" end if %> </a> </td> <% if k mod 2 =0 then%> </tr><tr height="30"> <% end if%> <% k=k+1 rsmm.movenext loop end if rsmm.close set rsmm=nothing %> </tr> </table> </div>